import { useNavigate } from 'react-router-dom'
function headered() {
    const navigate = useNavigate()

    return (
        <>
            <li className='header-bar-item' onClick={() => {
                navigate("/New")
            }} > 首页</li>
        </>
    )
}

export default headered
